←Select platform

SetDateTimeValue(DicomElement,DateTime[]) Method

Summary
Sets the Date-Time values of a Data Element.
Syntax
C#
C++/CLI
public bool SetDateTimeValue( 
   DicomElement element, 
   DateTime[] value 
) 
public: 
bool SetDateTimeValue(  
   DicomElement^ element, 
   array<DateTime>^ value 
)  

Parameters

element
An item in the Data Set.

value
Pointer to an array of DateTime objects that contain the Date Time value(s) to set.

Return Value

true if the DateTime values were set successfully; otherwise, it is false (the DateTime values of the Data Element could not be set).

Remarks

This method can be called only if the Value Representation of the Data Element is DicomVRType.DT. For more information about Value Representations, refer to Default Value Representation Table.

Requirements

Target Platforms

Help Version 23.0.2024.8.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.